package com.happy.pojo;

import java.io.Serializable;
import java.util.Objects;

public class Result implements Serializable {

    private boolean success; //判断该变量
    private String message;  //返回的字符串


    //getter，setter方法忽略
    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Result(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public Result() {
    }
}